package com.hqully.smartfumehood.common.enums;

import lombok.Getter;

/**
 * <p>
 * 设备枚举类
 * <p>
 *
 * @author liulingyu
 * @date 2022/7/4 20:49
 * @Version 1.0
 */
@Getter
public enum DeviceEnum {

    /**
     * 设备状态相关
     */
    DEVICE_STATUS_CHANGE(1,"device change"),
    DEVICE_STATUS_NO_CHANGE(3,"device no change"),
    DEVICE_STATUS_CLOSE(0,"device close"),
    DEVICE_STATUS_OPEN(1,"device open"),
    DEVICE_STATUS_ERROR(2,"device error");


    private Integer code;

    private String message;

    DeviceEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
